<extend name="Public:base"/>

<block name="left">
	<ul>
		<li><a href="{:U('Activity/add')}">添加活动</a></li>
		<li>信息列表</li>
		
	</ul>
</block>

<block name="right">

<form action="{:U('Activity/add',array('id'=>$activity_info['id']))}" method="post" enctype="multipart/form-data">
	<table >
		<tbody>
			<tr>
				<td><font color="red">* </font>	活动内容标题：</td>
				<td> <input id="" name="title" type="text" size="50" value="">（吸引眼球第一要素）</td>
			</tr>

			<tr>
				<td><font color="red">* </font>	活动海报：</td>
				<td> <input id="" name="img" type="file" size="20" value=""></td>
			</tr>


			<tr>
				<td><font color="red">* </font>	活动主办方：</td>
				<td> <input id="productName" name="companyname" type="text" size="50" value=""></td>
			</tr>

			<tr>
				<td><font color="red">* </font>	报名人数：</td>
				<td> <input id="productName" name="number" type="text" size="20" value=""> 人</td>
			</tr>
			<tr>
				<td><font color="red">* </font>	报名费：</td>
				<td> <input id="productName" name="money" type="text" size="20" value=""> 元</td>
			</tr>

			<tr>
				<td><font color="red">* </font>	活动特点：</td>
				<td> <input id="" name="trait" type="text" size="20" value=""></td>
			</tr>

			<tr>
				<td><font color="red">* </font>	浏览数：</td>
				<td> <input id="productName" name="" type="text" size="30" value=""></td>
			</tr>

			<tr>
				<td><font color="red">* </font>	开始时间：</td>
				<td> <input id="" name="create_time" type="text" size="20" value=""> </td>
			</tr>
			<tr>
				<td><font color="red">* </font>	结束时间：</td>
				<td> <input id="" name="end_time" type="text" size="20" value=""> </td>
			</tr>
				<tr>
				<td><font color="red">* </font>	联系人：</td>
				<td> <input id="end_time" name="linkman" type="text" size="20" value=""> </td>
			</tr>
				<tr>
				<td><font color="red">* </font>	电话：</td>
				<td> <input id="" name="mobile" type="text" size="20" value=""> </td>
			</tr>
			<tr>
				<td><font color="red">* </font>	地址：</td>
				<td> <input id="end_time" name="address" type="text" size="20" value=""> </td>
			</tr>

			
			



			<tr class="tr_hover"> 
				<td width="100" class="td_title">活动详情：</td> 
				<td>
					
					<script id="editor" name="editor" type="text/plain" style="width:700px;height:200px;"></script>
				
				</td>
			</tr>

			<tr class="tr_hover"> 
				<td width="100" class="td_title">活动奖励：</td> 
				<td>
					<script id="editor2" type="text/plain" name="editor2" style="width:700px;height:200px;"></script>
				</td>
			</tr>

			<tr class="tr_hover"> 
				<td width="100" class="td_title">活动攻略：</td> 
				<td>
					<script id="editor3" type="text/plain" name="editor3" style="width:700px;height:200px;"></script>
				</td>
			</tr>
			<tr class="tr_hover"> 
				<td width="100" class="td_title">相关条例：</td> 
				<td>
					<script id="editor4" type="text/plain" name="editor4" style="width:700px;height:200px;"></script>
				</td>
			</tr>


			<tr>
				<td><button type="submit">添加</button>
				</td>
			</tr>

		</tbody>

			
	</table>


</form>

<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');

    var ue2 = UE.getEditor('editor2');
    var ue3 = UE.getEditor('editor3');
    var ue4 = UE.getEditor('editor4');



</script>




</block>